package com.pw.ba.base.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pw.ba.base.pojo.Address;
import com.pw.ba.base.pojo.GoodsDetail;
import com.pw.ba.base.pojo.Order;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface IGoodsOrderMapper extends BaseMapper<Order> {

    public void creatOrder(Order order);

    public void creatOrderAddress(Address address);

    public void creatUserOrder(@Param("userId") String userId,@Param("orderId") String orderId,@Param("totalPrice") int totalPrice );
}
